package com.jkgl.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author w020304m
 * @since 2025-02-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_info_day")
public class UserInfoDayEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    private String userId;

    /**
     * 步数
     */
    private Integer stepNumber;

    /**
     * 当日饮水量
     */
    private String waterVolume;

    /**
     * 入睡时间
     */
    private LocalDateTime sleepTime;

    /**
     * 起床时间
     */
    private LocalDateTime wakeupTime;

    /**
     * 血压  收缩压/舒张压 mmHg
     */
    private String bloodPressure;

    /**
     * 收缩压
     */
    private Integer sbp;

    /**
     * 舒张压
     */
    private Integer dbp;


    /**
     * 当日体重
     */
    private String weightDiff;

    private LocalDate createTime;

    /**
     * 当前连续登记天数
     */
    private Integer continuousDays;

    /**
     * 深度睡眠
     */
    private Double deepSleepPercentage;

    /**
     * 浅睡眠
     */
    private Double lightSleepPercentage;

    /**
     * REM
     */
    private Double remSleepPercentage;

    /**
     * 当日运动时长
     */
    private Double sportTimeLong;
}
